Published 2006-11-13 14:46:00
#required packages - debian
apt-get install subversion
apt-get install libstdc++5
#get all the components
cd /usr/src/
wget http://ftp.digitalmars.com/dmd.zip
svn co http://svn.dsource.org/projects/dui/trunk dui
svn co http://svn.dsource.org/projects/dantfw/trunk Dante
svn co http://svn.dsource.org/projects/dool/trunk dool
svn co http://svn.dsource.org/projects/leds/trunk leds
unzip dmd.zip
#install dmd all over the place!
ln -s /usr/src/dmd /
ln -s /dmd/lib/libphobos.a /usr/lib/
ln -s /dmd/bin/dmd /usr/bin/
ln -s /dmd/src/phobos /usr/include/
echo "[Environment]" > /etc/dmd.conf;
echo "DFLAGS=-I/dmd/src/phobos" >> /etc/dmd.conf
chmod +x /dmd/bin/dmd
#install dool
cd /usr/src/dool/
rm Makefile.Dool
wget http://devel.akbkhome.com/leds/Makefile.Dool
make -f Makefile.Dool
#install dui (GTK)
cd ../dui/
rm Makefile.Duit
wget http://devel.akbkhome.com/leds/Makefile.Duit
make -f Makefile.Duit duit
#install dante (parser lib)
cd ../Dante/
rm Makefile.Dante
wget http://devel.akbkhome.com/leds/Makefile.Dante
make -f Makefile.Dante
#install leds (The editor)
cd ../leds/
rm Makefile.Leds
wget http://devel.akbkhome.com/leds/Makefile.Leds
make -f Makefile.Leds
cp ./downloads/libscintilla.so.1.6.3 /usr/lib/libscintilla.so
cp leds /usr/bin/
leds
#update dmd (optional)
cd /usr/src/
rm dmd.zip
wget http://ftp.digitalmars.com/dmd.zip
unzip dmd.zip
chmod +x /dmd/bin/dmd
#install dool
cd /usr/src/dool/
svn up
rm Makefile.Dool
wget http://devel.akbkhome.com/leds/Makefile.Dool
make -f Makefile.Dool
#install dui (GTK)
cd /usr/src/dui/
svn up
rm Makefile.Duit
wget http://devel.akbkhome.com/leds/Makefile.Duit
make -f Makefile.Duit duit
#install dante (parser lib)
cd /usr/src/Dante/
svn up
rm Makefile.Dante
wget http://devel.akbkhome.com/leds/Makefile.Dante
make -f Makefile.Dante
#install leds (The editor)
cd /usr/src/leds/
svn up
rm Makefile.Leds
wget http://devel.akbkhome.com/leds/Makefile.Leds
make -f Makefile.Leds
cp leds /usr/bin/
leds
#required packages - debianand Rebuilding is just a matter of svn up, and running compd again.!
apt-get install subversion
apt-get install libstdc++5
#get all the components
cd /usr/src/
wget http://ftp.digitalmars.com/dmd.zip
svn co http://svn.dsource.org/projects/dui/trunk dui
svn co http://svn.dsource.org/projects/dantfw/trunk Dante
svn co http://svn.dsource.org/projects/dool/trunk dool
svn co http://svn.dsource.org/projects/leds/trunk leds
unzip dmd.zip
#install dmd all over the place!
ln -s /usr/src/dmd /
ln -s /dmd/lib/libphobos.a /usr/lib/
ln -s /dmd/bin/dmd /usr/bin/
ln -s /dmd/src/phobos /usr/include/
echo "[Environment]" > /etc/dmd.conf;
echo "DFLAGS=-I/dmd/src/phobos" >> /etc/dmd.conf
chmod +x /dmd/bin/dmd
#install dool
cd /usr/src/dool/
#build compd - and installs it into /usr/local/bin/compd
sh compd.sh
compd
#install dui (GTK)
cd ../dui/
compd
#install dante (parser lib)
cd ../Dante/
compd
#install leds (The editor)
cd ../leds/
compd
cp ./downloads/libscintilla.so.1.6.3 /usr/lib/libscintilla.so
cp leds /usr/bin/
leds